package org.fjsei.yewu.jyjc.model;

import com.alibaba.fastjson2.annotation.JSONField;
//import com.seip.open.api.busi.jyjc.model.para.TechParams;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.fjsei.yewu.jyjc.model.para.TechParams;

/**
 * 监管平台设备参数
 *
 * @author huangjinzhou
 * @since 2023/6/12 18:16
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class AmrEqpInfo<EQP extends AmrEqpBaseInfo> extends AbstractDtApiReq {

    @JSONField(name = "BASE_INFO")
    private EQP baseInfo;

    @JSONField(name = "PARAMS")
    private TechParams params;

    public AmrEqpInfo() {
    }

    public AmrEqpInfo(String dtCode, EQP baseInfo, TechParams params) {
        super(dtCode, null, null, baseInfo.getOidno());
        this.baseInfo = baseInfo;
        this.params = params;
    }
}
